/*
 * Copyright (C) 2018 Pingan, Inc. All Rights Reserved.
 */
package com.pingan.haofang.searchcloud.api;

/**
 * collection概要信息
 *
 * @version 1.0
 * @description
 * @auther baojimin
 * @create 2018/4/19 13:36
 */
public class CollectionSummaryDto {

    private String name;
    private Long numDocs = 0L;
    private String size = "";
    private Long sizeInKBytes = 0L;

    public CollectionSummaryDto() {
    }

    public CollectionSummaryDto(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getNumDocs() {
        return numDocs;
    }

    public void setNumDocs(Long numDocs) {
        this.numDocs = numDocs;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return "SolrCoreDto{" +
                "name='" + name + '\'' +
                ", numDocs='" + numDocs + '\'' +
                ", size='" + size + '\'' +
                ", sizeInKBytes='" + sizeInKBytes + '\'' +
                '}';
    }

    public Long getSizeInKBytes() {
        return sizeInKBytes;
    }

    public void setSizeInKBytes(Long sizeInKBytes) {
        this.sizeInKBytes = sizeInKBytes;
    }
}
